/**
 * 静态路由
 */
import type { RouteRecordRaw } from 'vue-router'

import Login from '@views/login/index.vue'
import Register from '@views/register/index.vue'
import NotFound from '@views/not-found/index.vue'

const staticRoutes: RouteRecordRaw[] = [
  {
    path: '/login',
    component: Login,
  },
  {
    path: '/register',
    component: Register,
  },
  {
    path: '/notFound',
    name: 'not-found',
    component: NotFound,
  },
  // 404
  // {
  //   path: '/:pathMatch(.*)*',
  //   name: 'not-found-all',
  //   component: NotFound,
  // },
]

export default staticRoutes
